package com.baihuabooks.scoresys.common;

import java.util.List;

/**
 * Created by Thinkpad on 2016/5/17 0017.
 */
public class Page<T> {

    private final int total;
    private final List<T> rows;

    public Page(int total, List<T> rows) {
        this.total = total;
        this.rows = rows;
    }

    public int getTotal() {
        return total;
    }

    public List<T> getRows() {
        return rows;
    }
}
